<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        input:enabled {
            border: 1px solid red;
        }
        
        input:disabled {
            border: 1px solid blue;
        }
        
        input:focus {
            color: chartreuse;
            outline: none;
        }
        
        input:checked+span {
            color: red;
        }
        
        div::selection {
            color: chartreuse;
            background-color: pink;
            font-size: 30px;
        }
    </style>
</head>

<body>
    <input type="text">
    <input type="text" name="" id="" disabled>
    <input type="radio" name="sex"><span>男</span>
    <input type="radio" name="sex"><span>女</span>
    <div>
        Lorem ipsum dolor sit amet consectetur adipisicing elit. Explicabo, saepe eum, alias dolorum molestias iure eos beatae atque ipsam ad unde facilis ratione facere consectetur rerum provident? Necessitatibus, corrupti pariatur.
    </div>
</body>

</html>